//
//  WBCommon.swift
//  TYCWeiBo
//
//  Created by 中发 on 2018/6/6.
//  Copyright © 2018年 中发. All rights reserved.
//

import Foundation

//MARK:应用程序信息
//应用程序ID
let WBAppKey = "3066981627"
//应用程序加密信息（开发者可申请修改）
let WBAppSecret = "d1f003ea12dfee5604add88653e182ec"
//回调地址 -- 登录完成调转的URL，参数一get形式拼接
let WBRedirctURI = "http://baidu.com"

//MARK:全局通知定义
//用户登录需要通知
let WBUserShouldLoginNotification = "WBUserShouldLoginNotification"

//用户登录成功发送通知
let WBUserLoginSuccessNotification = "WBUserLoginSuccessNotification"

//常数准备
/// 配图视图外侧的间距
let WBStatusViewOutterMargin = CGFloat(12)
/// 微博视图内部图像视图的间距
let WBStatusViewInnerMargin = CGFloat(3)
/// 配图视图的宽度
let WBStatusViewWidth = UIScreen.main.bounds.width - 2 * WBStatusViewOutterMargin
/// 每个item默认的宽度
let WBStatusViewItemWidth = (WBStatusViewWidth - 2 * WBStatusViewInnerMargin) / 3
